package com.yanqu.road.entity.log.yqhotel;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_yq_hotel_boss",autoSave = true,eventName = "yangqu_check",dataUpload = true,uploadCk = true,desc = "阳泉酒家boss日志")
public class LogYqHotelBoss extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动id",isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "对战学生数",dataAttribute = "cost_num")
    private int studentCount;
    @FieldTypeAnnotation(desc = "怪物id",dataAttribute = "item_id")
    private int bossId;
    @FieldTypeAnnotation(desc = "被打前血量",dataAttribute = "other_blood")
    private String blood;
    @FieldTypeAnnotation(desc = "输出伤害",dataAttribute = "hotpot_hurt")
    private String attackBlood;
    @FieldTypeAnnotation(desc = "是否击杀",dataAttribute = "is_special")
    private boolean isKill;
    @FieldTypeAnnotation(desc = "奖励",dataAttribute = "item_get")
    private String reward;

    public LogYqHotelBoss(int activityId, long userId, int studentCount, int bossId, String blood, String attackBlood, boolean isKill, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.studentCount = studentCount;
        this.bossId = bossId;
        this.blood = blood;
        this.attackBlood = attackBlood;
        this.isKill = isKill;
        this.reward = reward;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getStudentCount() {
        return studentCount;
    }

    public void setStudentCount(int studentCount) {
        this.studentCount = studentCount;
    }

    public int getBossId() {
        return bossId;
    }

    public void setBossId(int bossId) {
        this.bossId = bossId;
    }

    public String getBlood() {
        return blood;
    }

    public void setBlood(String blood) {
        this.blood = blood;
    }

    public String getAttackBlood() {
        return attackBlood;
    }

    public void setAttackBlood(String attackBlood) {
        this.attackBlood = attackBlood;
    }

    public boolean isKill() {
        return isKill;
    }

    public void setKill(boolean kill) {
        isKill = kill;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
